package ThreadPool.creatpool.createMethod1.MyRunnableTest;

public class MyRunnable implements Runnable{
    @Override
    public void run() {
        for (int i = 0; i < 5; i++) {
            System.out.println(Thread.currentThread().getName() + "线程执行：" + i);
//            try {
//                    Thread.sleep(Integer.MAX_VALUE);
//            } catch (InterruptedException e) {
//                e.printStackTrace();
//            }
        }
    }
}
